<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>出现异常</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="icon" href="img/favicon.ico" type="image/x-icon">
	<!-- Bootstrap -->
 <link rel="icon" href="img/system/favicon.ico" type="image/x-icon">
	
    <!-- Bootstrap core CSS -->
    <link href="<%=path %>/js/dist/css/bootstrap.min.css" rel="stylesheet">

    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <link href="<%=path %>/css/ie10-viewport-bug-workaround.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="<%=path %>/css/back/offcanvas.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="<%=path %>/js/ie-emulation-modes-warning.js"></script>
    <script src="<%=path %>/js/vendor/jquery.min.js"></script>
  </head>
  
  <body>
  
  <div class="container">
  	<div align="center"><img  alt="" width="600px" height="400px" src="<%=path %>/img/a.png"></div>
    
       <main role="main">

        <div align="center">
         
            
			
			<input type="text" class="form-control" placeholder="请输入错误信息，获取帮助" id="errText"> <br>
		
          <p><a class="btn btn-lg btn-success" onclick="errBut()" role="button">搜索更多</a></p>
        </div>

        

      </main>
      <div align="right">
		<jsp:include page="/MyFooter.jsp"></jsp:include>
		</div>
      </div>
      
  
    
    <script type="text/javascript">
    function errBut(){
    	var errText=$("#errText").val();
    	window.location="https://www.baidu.com/s?ie=UTF-8&wd="+errText;
    }
    </script>
  </body>
</html>
